package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年11月03 15:39
 * @desc
 */
public enum PayHandleEnum implements IDescription {

    WAIT_HANDLE(0,"待处理"), WAIT_PAY(1,"待付款,"),
    PAY(2,"已付款"), CANCEL(3, "作废"), SUCCESS(4, "完成支付");

    private final String description;

    private final Integer code;

    PayHandleEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
